vt-d: Remove the FLR logic in Xen.
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 14 Jul 2008 09:10:14 +0000 (10:10 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 14 Jul 2008 09:10:14 +0000 (10:10 +0100)
commit910ece429105ed1f5c54ca476cd3149abe1607f5
tree79b3bb7972fe1d4178b991af9e5aa94142095883
parent6769cc1b63e94fd99724ec44d244b7594dc8178b
vt-d: Remove the FLR logic in Xen.

The current simple logic has some issues: 1) Dstate transition is not
guaranteed to properly clear the device state; 2) the current code for
PCIe FLR is actually buggy: PCI_EXP_DEVSTA_TRPND doesn't mean the
completion of FLR; according to the PCIe spec, after issuing FLR, we
should wait at least 100ms.

The improved FLR logic will be added into xend.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
xen/drivers/passthrough/amd/pci_amd_iommu.c
xen/drivers/passthrough/pci.c
xen/drivers/passthrough/vtd/iommu.c
xen/include/xen/pci.h